package JavaSE.d4;
//将26个英文字母用逗号分隔，组成字符串打印出来
public class Test22 {
    public static void main(String[] args) {
        StringBuffer str=new StringBuffer();

        for (int i = 65; i <65+26; i++) {
            str.append((char) i);
            str.append(",");
        }
        str.deleteCharAt(str.length()-1);
        System.out.println(str);
    }
}
